Constructors Summary |
---|
public ServiceException()Constructs a new exception with null as its
detail message. The cause is not initialized.
|
public ServiceException(String message)Constructs a new exception with the specified detail
message. The cause is not initialized.
super(message);
|
public ServiceException(String message, Throwable cause)Constructs a new exception with the specified detail
message and cause.
super(message);
this.cause = cause;
|
public ServiceException(Throwable cause)Constructs a new exception with the specified cause
and a detail message of (cause==null ? null :
cause.toString()) (which typically contains the
class and detail message of cause).
super( (cause == null) ? null : cause.toString() );
this.cause = cause;
|