org.apache.lens.client.exceptions
Class LensClientException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.lens.client.exceptions.LensClientException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LensClientServerConnectionException

public class LensClientException
extends RuntimeException

The Class LensClientException.

See Also:
Serialized Form

Constructor Summary
LensClientException(String message)
          Instantiates a new lens client exception.
LensClientException(String message, Exception cause)
          Instantiates a new lens client exception.
 
Method Summary
 Exception getCause()
           
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LensClientException

public LensClientException(String message,
                           Exception cause)
Instantiates a new lens client exception.

Parameters:
message - the message
cause - the cause

LensClientException

public LensClientException(String message)
Instantiates a new lens client exception.

Parameters:
message - the message
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getCause

public Exception getCause()
Overrides:
getCause in class Throwable


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.