com.metamatrix.platform.admin.api.exception
Class PermissionNodeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.metamatrix.core.MetaMatrixCoreException
              extended by com.metamatrix.api.exception.MetaMatrixException
                  extended by com.metamatrix.api.exception.MetaMatrixProcessingException
                      extended by com.metamatrix.platform.admin.api.exception.MetaMatrixAdminException
                          extended by com.metamatrix.platform.admin.api.exception.PermissionNodeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PermissionNodeNotActionableException, PermissionNodeNotFoundException

public class PermissionNodeException
extends MetaMatrixAdminException

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.metamatrix.core.MetaMatrixCoreException
code
 
Constructor Summary
PermissionNodeException()
          No-arg CTOR
PermissionNodeException(java.lang.String message, java.lang.String resource)
          Construct an instance with the message specified.
PermissionNodeException(java.lang.String code, java.lang.String message, java.lang.String resource)
          Construct an instance with the message and error code specified.
PermissionNodeException(java.lang.Throwable e, java.lang.String message, java.lang.String resource)
          Construct an instance from a message and an exception to chain to this one.
PermissionNodeException(java.lang.Throwable e, java.lang.String code, java.lang.String message, java.lang.String resource)
          Construct an instance from a message and a code and an exception to chain to this one.
 
Method Summary
 java.lang.String getMessage()
          Override getMessage to provide the resourceName.
 java.lang.String getResourceName()
          Get the name of the resource that was not found.
 
Methods inherited from class com.metamatrix.api.exception.MetaMatrixException
getChild, getFullMessage, toString
 
Methods inherited from class com.metamatrix.core.MetaMatrixCoreException
getCode
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PermissionNodeException

public PermissionNodeException()
No-arg CTOR


PermissionNodeException

public PermissionNodeException(java.lang.String message,
                               java.lang.String resource)
Construct an instance with the message specified.

Parameters:
message - A message describing the exception

PermissionNodeException

public PermissionNodeException(java.lang.String code,
                               java.lang.String message,
                               java.lang.String resource)
Construct an instance with the message and error code specified.

Parameters:
message - A message describing the exception
code - The error code

PermissionNodeException

public PermissionNodeException(java.lang.Throwable e,
                               java.lang.String message,
                               java.lang.String resource)
Construct an instance from a message and an exception to chain to this one.

Parameters:
message - A message describing the exception
e - An exception to nest within this one

PermissionNodeException

public PermissionNodeException(java.lang.Throwable e,
                               java.lang.String code,
                               java.lang.String message,
                               java.lang.String resource)
Construct an instance from a message and a code and an exception to chain to this one.

Parameters:
e - An exception to nest within this one
message - A message describing the exception
code - A code denoting the exception
Method Detail

getResourceName

public java.lang.String getResourceName()
Get the name of the resource that was not found.

Returns:
the resource name.

getMessage

public java.lang.String getMessage()
Override getMessage to provide the resourceName.

Overrides:
getMessage in class MetaMatrixCoreException
Returns:
The exception message with the resource name it pertains to.


Copyright © 2009. All Rights Reserved.