de.smartics.maven.plugin.buildmetadata.scm
Class ScmException

Package class diagram package ScmException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by de.smartics.maven.plugin.buildmetadata.scm.ScmException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ScmNoRevisionException

public class ScmException
     
     
extends RuntimeException

Thrown on any problem fetching SCM information.

Author:
Robert Reiner
See Also:
Serialized Form

Constructor Summary
ScmException(String message)
          Convenience constructor providing no cause.
ScmException(String message, Throwable cause)
          Default Constructor.
ScmException(Throwable cause)
          Convenience constructor providing no message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScmException

public ScmException(String message,
                    Throwable cause)
Default Constructor.

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
See Also:
RuntimeException.RuntimeException(java.lang.String, java.lang.Throwable)

ScmException

public ScmException(String message)
Convenience constructor providing no cause.

Parameters:
message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
See Also:
RuntimeException.RuntimeException(java.lang.String)

ScmException

public ScmException(Throwable cause)
Convenience constructor providing no message.

Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
See Also:
RuntimeException.RuntimeException(java.lang.Throwable)


Copyright © 2006-2012 Kronseder & Reiner GmbH - smartics. All Rights Reserved.