com.epam.admintool.exception
Class AdminToolException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.epam.admintool.exception.AdminToolException
All Implemented Interfaces:
Serializable

public class AdminToolException
extends RuntimeException

Runtime exception for Admin Tool module

Author:
Serhiy_Zahriychuk Date: Feb 26, 2009
See Also:
Serialized Form

Constructor Summary
AdminToolException(String description)
          Construct a AdminToolException with the specified detail message and nested exception.
AdminToolException(String description, Throwable throwable)
           
AdminToolException(Throwable cause)
           
 
Method Summary
 boolean equals(Object o)
           
 String getDescription()
          Method getFastError returns the validationError of this FastExceptionobject.
 Throwable getRootCause()
          Retrieve the innermost cause of this exception, if any.
 int hashCode()
           
 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, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AdminToolException

public AdminToolException(String description)
Construct a AdminToolException with the specified detail message and nested exception.

Parameters:
description - string that describe the problem

AdminToolException

public AdminToolException(String description,
                          Throwable throwable)

AdminToolException

public AdminToolException(Throwable cause)
Method Detail

getRootCause

public Throwable getRootCause()
Retrieve the innermost cause of this exception, if any.

Returns:
the innermost exception, or null if none

getDescription

public String getDescription()
Method getFastError returns the validationError of this FastExceptionobject.

Returns:
the fastError (type String) of this FastExceptionobject.

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Throwable


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.