org.apache.qpid.management.configuration
Class UnknownAccessCodeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.qpid.management.configuration.UnknownAccessCodeException
All Implemented Interfaces:
Serializable

public class UnknownAccessCodeException
extends Exception

Thrown when no access mode is found in configuration associated to the given code.

See Also:
Serialized Form

Constructor Summary
UnknownAccessCodeException(int code)
          Builds a new UnknownAccessCodeException with the given code.
 
Method Summary
 int getCode()
          Returns the unknown code.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnknownAccessCodeException

UnknownAccessCodeException(int code)
Builds a new UnknownAccessCodeException with the given code.

Parameters:
code - the access code.
Method Detail

getCode

public int getCode()
Returns the unknown code.

Returns:
the unknown code.


Licensed to the Apache Software Foundation