org.hudsonci.rest.model.fault
Class FaultException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.hudsonci.rest.model.fault.FaultException
All Implemented Interfaces:
Serializable

public class FaultException
extends RuntimeException

FaultDTO exception container.

Since:
2.1.0
Author:
Jason Dillon
See Also:
Serialized Form

Constructor Summary
FaultException(FaultDTO fault)
           
FaultException(String type, String message)
           
 
Method Summary
 FaultDTO getFault()
           
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

FaultException

public FaultException(FaultDTO fault)

FaultException

public FaultException(String type,
                      String message)
Method Detail

getFault

public FaultDTO getFault()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2004-2011 Hudson. All Rights Reserved.