Class UnsupportedVersionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.ellucian.ethos.integration.client.config.UnsupportedVersionException
-
- All Implemented Interfaces:
Serializable
public class UnsupportedVersionException extends RuntimeException
Thrown when an unsupported version is requested for an Ethos resource.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
resourceName
The name of the resource that the unsupportedVersion was requested for.protected String
unsupportedVersion
The unsupported version that was requested for the some resource.
-
Constructor Summary
Constructors Constructor Description UnsupportedVersionException(String message)
Constructs this exception with the given error message.UnsupportedVersionException(String message, String unsupportedVersion)
Constructs this exception with the given error message and unsupported version that was requested for some resource.UnsupportedVersionException(String message, String resourceName, String unsupportedVersion)
Constructs this exception with the given error message, resource name, and unsupported version of the resource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getResourceName()
Gets the name of the Ethos resource.String
getUnsupportedVersion()
Gets the unsupported version.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnsupportedVersionException
public UnsupportedVersionException(String message)
Constructs this exception with the given error message.- Parameters:
message
- The error message describing the error.
-
UnsupportedVersionException
public UnsupportedVersionException(String message, String unsupportedVersion)
Constructs this exception with the given error message and unsupported version that was requested for some resource.- Parameters:
message
- The error message describing the error.unsupportedVersion
- the unsupported version of the requested resource.
-
UnsupportedVersionException
public UnsupportedVersionException(String message, String resourceName, String unsupportedVersion)
Constructs this exception with the given error message, resource name, and unsupported version of the resource.- Parameters:
message
- The error message describing the error.resourceName
- The name of the Ethos resource.unsupportedVersion
- The unsupported version of the resource.
-
-
Method Detail
-
getUnsupportedVersion
public String getUnsupportedVersion()
Gets the unsupported version.- Returns:
- The unsupported version value.
-
getResourceName
public String getResourceName()
Gets the name of the Ethos resource.- Returns:
- The name of the Ethos resource for which an unsupported version was requested.
-
-