public class ShimException
extends java.lang.Exception
Exception
class thrown when a Throwable
is caught from shim code,
or a fatal error is returned from a shim.Constructor and Description |
---|
ShimException(java.lang.String detail)
Construct a
ShimException with the passed detail message. |
ShimException(java.lang.String detail,
java.lang.Throwable cause)
Construct a
ShimException with the passed detail message and
Throwable cause. |
public ShimException(java.lang.String detail)
ShimException
with the passed detail message.detail
- messagepublic ShimException(java.lang.String detail, java.lang.Throwable cause)
ShimException
with the passed detail message and
Throwable
cause.detail
- messagecause
- underlying cause (reason this ShimException
is being
thrown)