Project JXTA

net.jxta.exception
Class ViolationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.jxta.exception.JxtaException
              extended by net.jxta.exception.ViolationException
All Implemented Interfaces:
Serializable

public class ViolationException
extends JxtaException

Signal an internal error within a peer group operation

See Also:
Serialized Form

Constructor Summary
ViolationException()
          Constructs an Exception with no specified detail message.
ViolationException(String message)
          Constructs an Exception with the specified detail message.
ViolationException(String message, Throwable cause)
          Constructs a new exception with the specified detail message and cause.
ViolationException(Throwable cause)
          Constructs a new exception with the specified detail message and cause.
 
Method Summary
 
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

ViolationException

public ViolationException()
Constructs an Exception with no specified detail message.


ViolationException

public ViolationException(String message)
Constructs an Exception with the specified detail message.

Parameters:
message - the detail message.

ViolationException

public ViolationException(Throwable cause)
Constructs a new exception with the specified detail message and cause.

Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

ViolationException

public ViolationException(String message,
                          Throwable cause)
Constructs a new exception with the specified detail message and cause.

Parameters:
message - message the detail message
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

JXTA J2SE