Class HpdException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.openehealth.ipf.commons.ihe.hpd.HpdException
-
- All Implemented Interfaces:
Serializable
public class HpdException extends RuntimeException
- Author:
- Dmytro Rud
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HpdException(Exception exception, ErrorResponse.ErrorType type)
HpdException(String message, ErrorResponse.ErrorType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorResponse.ErrorType
getType()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
HpdException
public HpdException(String message, ErrorResponse.ErrorType type)
-
HpdException
public HpdException(Exception exception, ErrorResponse.ErrorType type)
-
-
Method Detail
-
getType
public ErrorResponse.ErrorType getType()
-
-