Forge - Parent 1.1.2-SNAPSHOT

org.jboss.forge.parser.java.impl
Class SyntaxErrorImpl

java.lang.Object
  extended by org.jboss.forge.parser.java.impl.SyntaxErrorImpl
All Implemented Interfaces:
Internal, SyntaxError

public class SyntaxErrorImpl
extends Object
implements SyntaxError, Internal

Author:
Lincoln Baxter, III

Constructor Summary
SyntaxErrorImpl(JavaSource<?> parent, Object internal)
           
 
Method Summary
 String getDescription()
          Get a textual description of the type of problem encountered.
 Object getInternal()
          Returns the implementation-specific Object representing this.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SyntaxErrorImpl

public SyntaxErrorImpl(JavaSource<?> parent,
                       Object internal)
Method Detail

getDescription

public String getDescription()
Description copied from interface: SyntaxError
Get a textual description of the type of problem encountered.

Specified by:
getDescription in interface SyntaxError

getInternal

public Object getInternal()
Description copied from interface: Internal
Returns the implementation-specific Object representing this. Do not call this method unless you are willing to risk breaking backwards compatibility if future versions do not use the same internal object implementations.

Specified by:
getInternal in interface Internal

toString

public String toString()
Overrides:
toString in class Object

Forge - Parent 1.1.2-SNAPSHOT

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.