Class GroupException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.compuware.api.topaz.TopazAPIException
-
- com.compuware.api.topaz.hostcredentials.HostCredentialsException
-
- com.compuware.api.topaz.hostcredentials.zos.GroupException
-
- All Implemented Interfaces:
Serializable
public class GroupException extends HostCredentialsException
GroupException
is a checked exception thrown when an attempt to connect to a z/OS host fails because the group ID is not recognized, the associated user ID is not valid for the group, or the associated user ID is revoked from the group.- Since:
- 1.0.0
- Version:
- 2.0.0
- See Also:
IZOSHostConnection.connect(IZOSCredentials)
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GroupException(String message, String localizedMessage, Throwable cause, IZOSHost zosHost)
Constructs a new group exception with the specified detail messages and host.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IZOSHost
getHost()
Returns the z/OS host on which this exception occurred.-
Methods inherited from class com.compuware.api.topaz.TopazAPIException
getLocalizedMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
GroupException
public GroupException(String message, String localizedMessage, Throwable cause, IZOSHost zosHost)
Constructs a new group exception with the specified detail messages and 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 theTopazAPIException.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 z/OS host associated with this exception- Since:
- 1.0.0
-
-
Method Detail
-
getHost
public IZOSHost getHost()
Returns the z/OS host on which this exception occurred.- Overrides:
getHost
in classHostCredentialsException
- Returns:
- the z/OS host
- Since:
- 1.0.0
-
-