public class RepositoryException extends Exception
Constructor and Description |
---|
RepositoryException(String message)
Creates a new exception with the specified detail message.
|
RepositoryException(String message,
Throwable cause)
Creates a new exception with the specified detail message and cause.
|
Modifier and Type | Method and Description |
---|---|
protected static String |
getMessage(String prefix,
Throwable cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RepositoryException(String message)
message
- The detail message, may be null
.public RepositoryException(String message, Throwable cause)
message
- The detail message, may be null
.cause
- The exception that caused this one, may be null
.protected static String getMessage(String prefix, Throwable cause)
prefix
- The prefix.cause
- The exception that caused this one, may be null
.Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.