Package com.streambase.sb.operator
Class ResourceNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.streambase.sb.StreamBaseException
-
- com.streambase.sb.operator.ResourceNotFoundException
-
- All Implemented Interfaces:
LocatedItem
,Serializable
public class ResourceNotFoundException extends StreamBaseException
Thrown when an operator tries to get a resource by name, but no such resource exists.
-
-
Constructor Summary
Constructors Constructor Description ResourceNotFoundException(String name)
Constructor.ResourceNotFoundException(String name, String resourcePath)
Constructor.ResourceNotFoundException(String name, Throwable cause)
Constructor.
-
Method Summary
-
Methods inherited from class com.streambase.sb.StreamBaseException
asXmlStringSingle, asXmlStringStrict, asXmlStringStrict, equals, getParams, hashCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ResourceNotFoundException
public ResourceNotFoundException(String name)
Constructor.- Parameters:
name
- the name of the resource that was not found
-
ResourceNotFoundException
public ResourceNotFoundException(String name, Throwable cause)
Constructor.- Parameters:
name
- the name of the resource that was not foundcause
- The cause
-
-