Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Copyright 2006-2014 smartics, Kronseder & Reiner GmbH
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *     http://www.apache.org/licenses/LICENSE-2.0
  *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.redhat.rcm.maven.plugin.buildmetadata.scm;

Thrown on any problem fetching SCM information.

Author(s):
Robert Reiner
Version:
$Revision:591 $
public class ScmException extends RuntimeException
  // ********************************* Fields *********************************
  // --- constants ------------------------------------------------------------

  
The class version identifier.

The value of this constant is .

  private static final long serialVersionUID = 1L;
  // --- members --------------------------------------------------------------
  // ****************************** Initializer *******************************
  // ****************************** Constructors ******************************

  
Default Constructor.

Parameters:
message the detail message (which is saved for later retrieval by the java.lang.Throwable.getMessage() method).
cause the cause (which is saved for later retrieval by the java.lang.Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
See also:
java.lang.RuntimeException.java.lang.RuntimeException.(java.lang.String,java.lang.Throwable)
  public ScmException(final String messagefinal Throwable cause)
  {
    super(messagecause);
  }

  
Convenience constructor providing no cause.

Parameters:
message the detail message. The detail message is saved for later retrieval by the java.lang.Throwable.getMessage() method.
See also:
java.lang.RuntimeException.java.lang.RuntimeException.(java.lang.String)
  public ScmException(final String message)
  {
    super(message);
  }

  
Convenience constructor providing no message.

Parameters:
cause the cause (which is saved for later retrieval by the java.lang.Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
See also:
java.lang.RuntimeException.java.lang.RuntimeException.(java.lang.Throwable)
  public ScmException(final Throwable cause)
  {
    super(cause);
  }
  // ****************************** Inner Classes *****************************
  // ********************************* Methods ********************************
  // --- init -----------------------------------------------------------------
  // --- get&set --------------------------------------------------------------
  // --- business -------------------------------------------------------------
  // --- object basics --------------------------------------------------------
New to GrepCode? Check out our FAQ X