| java.lang.Object java.lang.Throwable java.lang.Exception com.sun.portal.admin.common.PSMBeanException
PSMBeanException | public class PSMBeanException extends Exception (Code) | | A generic PS MBean error.
|
Constructor Summary | |
public | PSMBeanException(String errorKey) Constructs a new PS MBean exception with the specified error
key and null as its detail message. | public | PSMBeanException(String errorKey, String message) Constructs a new PS MBean exception with the specified error
key and detail message . | public | PSMBeanException(String errorKey, Object[] tokens) Constructs a new PS MBean exception with the specified error
key and object array of tokens and null as its detail message. | public | PSMBeanException(String errorKey, Throwable cause) Constructs a new PS MBean exception with the specified error
key, cause ,detail message of ((cause == null) ?
null : cause.toString()) (which typically contains the
class and detail message of cause)
Parameters: errorKey - the error key (which is saved for laterretrieval by the PSMBeanException.getErrorKey() method). Parameters: cause - the cause (which is saved for later retrieval bythe PSMBeanException.getCause() method). | public | PSMBeanException(String errorKey, String message, Object[] tokens) Constructs a new PS MBean exception with the specified error
key , detail message and an objecty array of tokens The cause is not initialized, and may
subsequently be initialized by a call to
PSMBeanException.initCause . | public | PSMBeanException(String errorKey, String message, Throwable cause) Constructs a new PS MBean exception with the specified error
key, detail message , cause . | public | PSMBeanException(String errorKey, String message, Throwable cause, Object[] tokens) Constructs a new PS MBean exception with the specified error
key, detail message , cause and object array of tokens. | public | PSMBeanException(String errorKey, Throwable cause, Object[] tokens) Constructs a new PS MBean exception with the specified error
key, cause ,detail message of ((cause == null) ?
null : cause.toString()) (which typically contains the
class and detail message of cause) and object array of tokens
Parameters: errorKey - the error key (which is saved for laterretrieval by the PSMBeanException.getErrorKey() method). Parameters: cause - the cause (which is saved for later retrieval bythe PSMBeanException.getCause() method). |
PSMBeanException | public PSMBeanException(String errorKey)(Code) | | Constructs a new PS MBean exception with the specified error
key and null as its detail message. The cause is
not initialized, and may subsequently be initialized by a call
to
PSMBeanException.initCause .
Parameters: errorKey - the error key (which is saved for laterretrieval by the PSMBeanException.getErrorKey() method). |
PSMBeanException | public PSMBeanException(String errorKey, Object[] tokens)(Code) | | Constructs a new PS MBean exception with the specified error
key and object array of tokens and null as its detail message. The cause is
not initialized, and may subsequently be initialized by a call
to
PSMBeanException.initCause .
Parameters: errorKey - the error key (which is saved for laterretrieval by the PSMBeanException.getErrorKey() method). Parameters: tokens - the tokens to be inserted in the localized message (which is saved for laterretrieval by the PSMBeanException.getTokens() method). |
PSMBeanException | public PSMBeanException(String errorKey, Throwable cause)(Code) | | Constructs a new PS MBean exception with the specified error
key, cause ,detail message of ((cause == null) ?
null : cause.toString()) (which typically contains the
class and detail message of cause)
Parameters: errorKey - the error key (which is saved for laterretrieval by the PSMBeanException.getErrorKey() method). Parameters: cause - the cause (which is saved for later retrieval bythe PSMBeanException.getCause() method). (Anull value is permitted, and indicatesthat the cause is nonexistent or unknown.) |
PSMBeanException | public PSMBeanException(String errorKey, String message, Object[] tokens)(Code) | | Constructs a new PS MBean exception with the specified error
key , detail message and an objecty array of tokens The cause is not initialized, and may
subsequently be initialized by a call to
PSMBeanException.initCause .
Parameters: errorKey - the error key (which is saved for laterretrieval by the PSMBeanException.getErrorKey() method). Parameters: message - the detail message (which is saved for laterretrieval by the PSMBeanException.getMessage() method). Parameters: tokens - the tokens to be inserted in the localized message (which is saved for laterretrieval by the PSMBeanException.getTokens() method). |
PSMBeanException | public PSMBeanException(String errorKey, String message, Throwable cause)(Code) | | Constructs a new PS MBean exception with the specified error
key, detail message , cause . Note that the detail
message associated with cause is not
automatically incorporated in this exception's detail message.
Parameters: errorKey - the error key (which is saved for laterretrieval by the PSMBeanException.getErrorKey() method). Parameters: message - the detail message (which is saved for laterretrieval by the PSMBeanException.getMessage() method). Parameters: cause - the cause (which is saved for later retrieval bythe PSMBeanException.getCause() method). (Anull value is permitted, and indicatesthat the cause is nonexistent or unknown.) |
PSMBeanException | public PSMBeanException(String errorKey, String message, Throwable cause, Object[] tokens)(Code) | | Constructs a new PS MBean exception with the specified error
key, detail message , cause and object array of tokens. Note that the detail
message associated with cause is not
automatically incorporated in this exception's detail message.
Parameters: errorKey - the error key (which is saved for laterretrieval by the PSMBeanException.getErrorKey() method). Parameters: message - the detail message (which is saved for laterretrieval by the PSMBeanException.getMessage() method). Parameters: cause - the cause (which is saved for later retrieval bythe PSMBeanException.getCause() method). (Anull value is permitted, and indicatesthat the cause is nonexistent or unknown.) Parameters: tokens - the tokens to be inserted in the localized message (which is saved for laterretrieval by the PSMBeanException.getTokens() method). |
PSMBeanException | public PSMBeanException(String errorKey, Throwable cause, Object[] tokens)(Code) | | Constructs a new PS MBean exception with the specified error
key, cause ,detail message of ((cause == null) ?
null : cause.toString()) (which typically contains the
class and detail message of cause) and object array of tokens
Parameters: errorKey - the error key (which is saved for laterretrieval by the PSMBeanException.getErrorKey() method). Parameters: cause - the cause (which is saved for later retrieval bythe PSMBeanException.getCause() method). (Anull value is permitted, and indicatesthat the cause is nonexistent or unknown.) Parameters: tokens - the tokens to be inserted in the localized message (which is saved for laterretrieval by the PSMBeanException.getTokens() method). |
getErrorKey | public String getErrorKey()(Code) | | Returns the error key of this PS MBean exception.
the error key of this PS MBean exception. |
getTokens | public Object[] getTokens()(Code) | | Returns the object array of tokens which can be later used to insert in
localzed messages
the tokens as an object array. |
|
|