com.dynalivery.repository.util
Class ServerUnavailableException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.dynalivery.repository.util.ServerUnavailableException
- public class ServerUnavailableException
- extends java.lang.Exception
A public class to return a repository exception when the EJB server is unavailable
- See Also:
- Serialized Form
|
Constructor Summary |
ServerUnavailableException(java.lang.String msg)
Constructs an ServerUnavailableException with a detail message. |
ServerUnavailableException(java.lang.String msg,
java.lang.Exception nested)
Constructs an ServerUnavailableException with a detail message. |
|
Method Summary |
java.lang.String |
toString()
Returns exception message plus nested exception if any |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
ServerUnavailableException
public ServerUnavailableException(java.lang.String msg)
- Constructs an ServerUnavailableException with a detail message.
- Parameters:
msg - the detail message describing the exception.
ServerUnavailableException
public ServerUnavailableException(java.lang.String msg,
java.lang.Exception nested)
- Constructs an ServerUnavailableException with a detail message.
- Parameters:
msg - the detail message describing the exception.nested - the nested exception if any
toString
public java.lang.String toString()
- Returns exception message plus nested exception if any
- Overrides:
- toString in class java.lang.Throwable
- Returns:
- exception message plus nested exception if any