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 GroupExceptionis 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 SummaryConstructors Constructor Description GroupException​(String message, String localizedMessage, Throwable cause, IZOSHost zosHost)Constructs a new group exception with the specified detail messages and host.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IZOSHostgetHost()Returns the z/OS host on which this exception occurred.- 
Methods inherited from class com.compuware.api.topaz.TopazAPIExceptiongetLocalizedMessage
 - 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
GroupExceptionpublic 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 the- Throwable.getMessage()method).
- localizedMessage- the localized description (which is saved for later retrieval by the- TopazAPIException.getLocalizedMessage()method). (A- nullvalue is permitted, in which case- getLocalizedMessage()will return the non-localized detail message.)
- cause- the cause (which is saved for later retrieval by the- Throwable.getCause()method). (A- nullvalue 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- 
getHostpublic IZOSHost getHost() Returns the z/OS host on which this exception occurred.- Overrides:
- getHostin class- HostCredentialsException
- Returns:
- the z/OS host
- Since:
- 1.0.0
 
 
- 
 
-