public class SandboxUpdateException extends SandboxException
Constructor and Description |
---|
SandboxUpdateException(Sandbox sandbox,
SandboxUpdateErrorInfo error)
Constructs an exception to report an error during sandbox update.
|
SandboxUpdateException(Sandbox sandbox,
java.lang.String errorSummary)
Constructs an exception with only summary of an error during sandbox
update.
|
SandboxUpdateException(Sandbox sandbox,
java.lang.Throwable cause)
Constructs an exception with the cause of an error during sandbox update.
|
Modifier and Type | Method and Description |
---|---|
SandboxUpdateErrorInfo |
getErrorInfo()
Returns the information of the error reported by this exception.
|
getSandbox, log
public SandboxUpdateException(Sandbox sandbox, SandboxUpdateErrorInfo error)
sandbox
- the sandbox being updatederror
- the error informationjava.lang.IllegalArgumentException
- if the sandbox or error information is
nullpublic SandboxUpdateException(Sandbox sandbox, java.lang.String errorSummary)
sandbox
- the sandbox being updatederrorSummary
- the summary of the errorjava.lang.IllegalArgumentException
- if the sandbox or the error summary is
nullpublic SandboxUpdateException(Sandbox sandbox, java.lang.Throwable cause)
sandbox
- the sandbox being updatedcause
- the cause of the errorjava.lang.IllegalArgumentException
- if the sandbox or the cause is nullpublic final SandboxUpdateErrorInfo getErrorInfo()