ModeShape Distribution 3.0.0.Beta4

org.modeshape.jcr.api
Interface Problem


public interface Problem

An immutable representation of a problem, with a code, message, and an optional exception.


Method Summary
 String getMessage()
          Get the message written in the current locale.
 Throwable getThrowable()
          Get the exception that caused this problem.
 

Method Detail

getMessage

String getMessage()
Get the message written in the current locale.

Returns:
the message; never null

getThrowable

Throwable getThrowable()
Get the exception that caused this problem.

Returns:
the exception, or null if no exception caused this problem

ModeShape Distribution 3.0.0.Beta4

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.