Class StageException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.jvnet.hudson.plugins.m2release.nexus.StageException
-
- All Implemented Interfaces:
Serializable
public class StageException extends IOException
Exception that indicates something has gone wrong with a staging request.- Author:
- teilo
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StageException(String message)
Constructs aStageException
with the specified detail message.StageException(String message, Throwable cause)
Constructs anIOException
with the specified detail message and cause.StageException(Throwable cause)
Constructs aStageException
with the specified cause and a detail message of(cause==null ? null : cause.toString())
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
StageException
public StageException(String message, Throwable cause)
Constructs anIOException
with the specified detail message and cause.- Parameters:
message
- the message that should be shown to the end user to explain ehat went wrong.cause
- the root cause of the issue.
-
StageException
public StageException(String message)
Constructs aStageException
with the specified detail message.- Parameters:
message
- the message that should be shown to the end user to explain what went wrong.
-
StageException
public StageException(Throwable cause)
Constructs aStageException
with the specified cause and a detail message of(cause==null ? null : cause.toString())
- Parameters:
cause
- the root cause of the issue.
-
-