org.springframework.cloud.dataflow.server.repository

## Class NoSuchStreamDefinitionException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.springframework.cloud.dataflow.server.repository.NoSuchStreamDefinitionException

- All Implemented Interfaces:
    Serializable

      public class NoSuchStreamDefinitionException
      extends RuntimeException

  Thrown when a stream definition of a given name was expected but did not exist.
  Author:
    Eric Bottard
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NoSuchStreamDefinitionException(String name)`
    `NoSuchStreamDefinitionException(String name, String message)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getName()`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### NoSuchStreamDefinitionException

          public NoSuchStreamDefinitionException(String name)

    - #### NoSuchStreamDefinitionException

          public NoSuchStreamDefinitionException(String name,
                                                 String message)

  - ### Method Detail

    - #### getName

          public String getName()

      Returns:
        the name of the stream definition that could not be found

Copyright © 2021 Pivotal Software, Inc.. All rights reserved.