com.google.template.soy.msgs
Class SoyMsgException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.template.soy.msgs.SoyMsgException
- All Implemented Interfaces:
- Serializable
public class SoyMsgException
- extends RuntimeException
Exception for errors related to messages/translation.
- See Also:
- Serialized Form
SoyMsgException
public SoyMsgException(String message)
- Parameters:
message - A detailed description of the error.
SoyMsgException
public SoyMsgException(String message,
Throwable cause)
- Parameters:
message - A detailed description of the error.cause - The underlying cause.
SoyMsgException
public SoyMsgException(Throwable cause)
- Parameters:
cause - The underlying cause.
setFileOrResourceName
public void setFileOrResourceName(String fileOrResourceName)
- Sets the name of the file or resource associated with this error.
- Parameters:
fileOrResourceName - The file or resource name to set.
getFileOrResourceName
public String getFileOrResourceName()
- Returns the name of the file or resource associated with this error.
getMessage
public String getMessage()
- Overrides:
getMessage in class Throwable