Class EthosResourceNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.ellucian.ethos.integration.client.config.EthosResourceNotFoundException
-
- All Implemented Interfaces:
Serializable
public class EthosResourceNotFoundException extends RuntimeException
Thrown when the given resource is not found in the available resources response.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EthosResourceNotFoundException(String message)
Constructor taking the error message.EthosResourceNotFoundException(String message, String resourceName)
Constructor taking the error message and the name of the resource not found in the available resources response.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getResourceName()
Gets the name of the resource that was not found.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
EthosResourceNotFoundException
public EthosResourceNotFoundException(String message)
Constructor taking the error message.- Parameters:
message
- The error message for this exception.
-
EthosResourceNotFoundException
public EthosResourceNotFoundException(String message, String resourceName)
Constructor taking the error message and the name of the resource not found in the available resources response.- Parameters:
message
- The error message for this exception.resourceName
- The name of the resource not found.
-
-
Method Detail
-
getResourceName
public String getResourceName()
Gets the name of the resource that was not found.- Returns:
- The name of the resource not found.
-
-