org.jdiameter.api.validation
Class AvpNotAllowedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jdiameter.api.validation.AvpNotAllowedException
All Implemented Interfaces:
java.io.Serializable

public class AvpNotAllowedException
extends java.lang.RuntimeException

Class to indicate error in AVP add operation.

Author:
Alexandre Mendonca , Bartosz Baranowski
See Also:
Serialized Form

Constructor Summary
AvpNotAllowedException(int code, long vendor)
           
AvpNotAllowedException(java.lang.String message, int code, long vendor)
           
AvpNotAllowedException(java.lang.String message, java.lang.Throwable cause, int code, long vendor)
           
AvpNotAllowedException(java.lang.Throwable cause, int code, long vendor)
           
 
Method Summary
 int getAvpCode()
           
 long getVendorId()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

AvpNotAllowedException

public AvpNotAllowedException(int code,
                              long vendor)

AvpNotAllowedException

public AvpNotAllowedException(java.lang.String message,
                              int code,
                              long vendor)
Parameters:
message -

AvpNotAllowedException

public AvpNotAllowedException(java.lang.Throwable cause,
                              int code,
                              long vendor)
Parameters:
cause -

AvpNotAllowedException

public AvpNotAllowedException(java.lang.String message,
                              java.lang.Throwable cause,
                              int code,
                              long vendor)
Parameters:
message -
cause -
Method Detail

getAvpCode

public int getAvpCode()

getVendorId

public long getVendorId()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable


Copyright © 2013. All Rights Reserved.