Package org.apache.juneau.internal
Class ExceptionBuilder<T extends Throwable>
java.lang.Object
org.apache.juneau.internal.ExceptionBuilder<T>
- Type Parameters:
- T- The exception class.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
ExceptionBuilderDefault constructor.- Parameters:
- type- The exception type to create.
 
 
- 
- 
Method Details- 
messageSpecifies the exception message.- Parameters:
- msg- The exception message. Can be- null .
 If- null , then the caused-by message is used if available.
- args- The exception message arguments.
- Returns:
- This object.
 
- 
causedBySpecifies the caused-by exception.- Parameters:
- value- The caused-by exception. Can be- null .
- Returns:
- This object.
 
- 
buildCreates the exception.- Returns:
- The exception.
 
 
-