Class ZOSLicenseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.compuware.api.topaz.TopazAPIRuntimeException
-
- com.compuware.api.topaz.hosts.zos.ZOSLicenseException
-
- All Implemented Interfaces:
Serializable
public class ZOSLicenseException extends TopazAPIRuntimeException
ZOSLicenseException
is an unchecked exception thrown when a valid license cannot be found on a z/OS host.- Since:
- 1.0.0
- Version:
- 2.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ZOSLicenseException(String message, String localizedMessage, IZOSHost zosHost)
Constructs a new ZOS license exception with the specified detail messages and z/OS host.ZOSLicenseException(String message, String localizedMessage, Throwable cause, IZOSHost zosHost)
Constructs a new ZOS license exception with the specified detail messages, cause and z/OS host.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IZOSHost
getZOSHost()
Returns the z/OS host on which the error occurred.-
Methods inherited from class com.compuware.api.topaz.TopazAPIRuntimeException
getLocalizedMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ZOSLicenseException
public ZOSLicenseException(String message, String localizedMessage, IZOSHost zosHost)
Constructs a new ZOS license exception with the specified detail messages and z/OS host. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable)
.- Parameters:
message
- the non-localized detail message (which is saved for later retrieval by theThrowable.getMessage()
method).localizedMessage
- the localized description (which is saved for later retrieval by theTopazAPIRuntimeException.getLocalizedMessage()
method). (Anull
value is permitted, in which casegetLocalizedMessage()
will return the non-localized detail message.)zosHost
- the ZOS host associated with this exception- Since:
- 1.0.0
-
ZOSLicenseException
public ZOSLicenseException(String message, String localizedMessage, Throwable cause, IZOSHost zosHost)
Constructs a new ZOS license exception with the specified detail messages, cause and z/OS host.Note that the detail message associated with
cause
is not automatically incorporated in this exception's detail message.- Parameters:
message
- the non-localized detail message (which is saved for later retrieval by theThrowable.getMessage()
method).localizedMessage
- the localized description (which is saved for later retrieval by theTopazAPIRuntimeException.getLocalizedMessage()
method). (Anull
value is permitted, in which casegetLocalizedMessage()
will return the non-localized detail message.)cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)zosHost
- the ZOS host associated with this exception- Since:
- 1.0.0
-
-
Method Detail
-
getZOSHost
public IZOSHost getZOSHost()
Returns the z/OS host on which the error occurred.- Returns:
- the z/OS host
- Since:
- 1.0.0
-
-