Package com.orchestranetworks.addon.dpra
Class DPRAException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- com.orchestranetworks.addon.dpra.DPRAException
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class DPRAException extends java.lang.ExceptionRepresents an error with a user-friendly message when performing operations in the Insight (new) add-on.- Since:
- 4.2.0
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description DPRAException(com.onwbp.base.text.UserMessage message)Constructs a new instance without a cause.DPRAException(com.onwbp.base.text.UserMessage message, java.lang.Throwable cause)Constructs a new instance with a cause.DPRAException(java.lang.String message)Constructs a new instance without a cause.DPRAException(java.lang.String message, java.lang.Throwable cause)Constructs a new instance with a cause.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetMessage()java.lang.StringgetMessage(java.util.Locale locale)Returns the error message for a locale.com.onwbp.base.text.UserMessagegetUserMessage()Returns the localized error message.
 
- 
- 
- 
Constructor Detail- 
DPRAExceptionpublic DPRAException(java.lang.String message) Constructs a new instance without a cause.- Parameters:
- message- The error message.
 
 - 
DPRAExceptionpublic DPRAException(java.lang.String message, java.lang.Throwable cause)Constructs a new instance with a cause.- Parameters:
- message- The error message.
- cause- The wrapped error.
 
 - 
DPRAExceptionpublic DPRAException(com.onwbp.base.text.UserMessage message) Constructs a new instance without a cause.- Parameters:
- message- The localized error message.
 
 - 
DPRAExceptionpublic DPRAException(com.onwbp.base.text.UserMessage message, java.lang.Throwable cause)Constructs a new instance with a cause.- Parameters:
- message- The localized error message.
- cause- The wrapped error.
 
 
- 
 - 
Method Detail- 
getUserMessagepublic com.onwbp.base.text.UserMessage getUserMessage() Returns the localized error message.
 - 
getMessagepublic java.lang.String getMessage() - Overrides:
- getMessagein class- java.lang.Throwable
 
 - 
getMessagepublic java.lang.String getMessage(java.util.Locale locale) Returns the error message for a locale.
 
- 
 
-